package springframework.bean;

/**
 * @author Cedric
 * @date 2021/12/03 15:55
 * @description 妻子
 */
public class Wife {
    private Husband husband;
    private IMother mother;

    public Husband getHusband() {
        return husband;
    }

    public void setHusband(Husband husband) {
        this.husband = husband;
    }

    public IMother getMother() {
        return mother;
    }

    public void setMother(IMother mother) {
        this.mother = mother;
    }

    public String queryHusband() {
        return "Wife.husband、Mother.callMother:" + mother.callMother();
    }
}
